package com.ysx.oa.role.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

@Table(name="kaoqin_role_t")
@Data
public class RoleBean {

    @Id
    @Column(name="ID")
    private Integer id;
    @Column(name = "NAME")
    private String name;
    @Column(name = "ROLE_DESC")
    private String roleDesc;
    @Column(name = "CREATE_TIME")
    private String createTime;
    @Column(name = "UPDATE_TIME")
    private String updateTime;

    private List<UserRoleBean> userRoleBeans;
    @Transient
    private Integer count;


}
